package net.dodoman.enums;

/**
 * 
 * @author yanping
 * 
 */
public class MessageInfoMain {

	enum enumMore {
	}

	public static void main(String args[]) {
		MessageInfo mi = MessageInfo.MI;
		System.out.println("MessageInfo.code=" + mi.getCode()
				+ "|tMessageInfo.info=" + mi.getInfo());
		MessageInfoOtherWay miow = MessageInfoOtherWay.MIMORE;
		System.out.println("MessageInfoOtherWay.code=" + miow.getCode()
				+ "|MessageInfoOtherWay.code=" + miow.getInfo());
		for (enumMore em : enumMore.values()) {
			System.out.println(em);
		}
		for (MessageInfoThirdWay.EnumMessageInfo mitwem : MessageInfoThirdWay.EnumMessageInfo
				.values()) {
			System.out.println("MessageInfoThirdWay.code=" + mitwem.getCode()
					+ "|MessageInfoThirdWay.info=" + mitwem.getInfo());
		}
	}

}
